package com.ryan.day01;

public class Demo01 {
    public static void main(String[] args) {
        int num = getNum();
        System.out.println(num);
    }

    public static int getNum(){
        int sum = 0;
        for (int i = 0; i < 100; i++) {
            sum = sum+i;
        }
        return sum;
    }
}